Skip to content

chore: add docker build arguments to Dockerfile.dev#5017

Merged
gacevicljubisa merged 1 commit intomasterfrom
docker-build-args
Mar 4, 2025
Merged

chore: add docker build arguments to Dockerfile.dev#5017
gacevicljubisa merged 1 commit intomasterfrom
docker-build-args

Conversation

@gacevicljubisa
Copy link
Member

@gacevicljubisa gacevicljubisa commented Feb 21, 2025

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

Add support for build arguments (REACHABILITY_OVERRIDE_PUBLIC, BATCHFACTOR_OVERRIDE_PUBLIC) in Dockerfile and PLATFORM in Makefile.

make docker-build cmd when needed to build docker image with REACHABILITY_OVERRIDE_PUBLIC and BATCHFACTOR_OVERRIDE_PUBLIC flags, and in case when we are deploying cluster using beelocal

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

@gacevicljubisa gacevicljubisa marked this pull request as draft February 21, 2025 16:32
@gacevicljubisa gacevicljubisa marked this pull request as ready for review March 3, 2025 14:02
Copy link
Contributor

@istae istae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we do not have a means of automated testing this, pls post screenshots in the PR so we can verify that the changes are working 🙏

@gacevicljubisa
Copy link
Member Author

gacevicljubisa commented Mar 3, 2025

since we do not have a means of automated testing this, pls post screenshots in the PR so we can verify that the changes are working 🙏

It was requested by @nugaon some time ago to build image using these flags (other then default values). This is just an improvement for cmd.
Here are the screenshots:

docker-build-args_1
docker-build-args_2

Also, here is the example cmd that uses default values (if not specified):

make docker-build REACHABILITY_OVERRIDE_PUBLIC=false BATCHFACTOR_OVERRIDE_PUBLIC=5 PLATFORM=linux/amd64

@gacevicljubisa gacevicljubisa merged commit c551bf4 into master Mar 4, 2025
15 checks passed
@gacevicljubisa gacevicljubisa deleted the docker-build-args branch March 4, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants